package org.lmd.platform.constant;

public enum ResponseCode {
    OK(2000,"操作成功！"),
    ERROR_SYSTEM_5000(5000,"系统异常，请稍后重试");
    private int code;
    private String messagage;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessagage() {
        return messagage;
    }

    public void setMessagage(String messagage) {
        this.messagage = messagage;
    }
    ResponseCode(int code,String message){
        this.code=code;
        this.messagage=message;
    }
}
